f = open("a.txt", encoding="utf-8")
line = f.readline(3)
while line:
    print(line, end="")
    line = f.readline(3)
f.close()